<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/10/12
  Time: 8:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    String msg = "";
String temp = (String) request.getAttribute("msg");
if (temp != null){
    msg = temp;
}
%>
<%=msg%>
<form action="/jspTest/addServlet" method="post">
    num1: <input type="text" name="num1" value=""> <br>
    num2: <input type="text" name="num2" value=""> <br>
    <input type="submit" value="提交">
</form>
</body>
</html>
